home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10808 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  873 b 

  1. Path: csus.edu!orion!c2eyf931
  2. From: franco <c2eyf931@Simpang.Raya>
  3. Newsgroups: comp.lang.c++
  4. Subject: NEWBIE : Need help with C++
  5. Date: Sun, 10 Mar 1996 21:57:21 -0800
  6. Organization: California State University Sacramento
  7. Message-ID: <Pine.SOL.3.91.960310214829.26563A-100000@orion>
  8. NNTP-Posting-Host: c2eyf931@orion.sfsu.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11. X-Sender: c2eyf931@orion
  12.  
  13. Hello all.....
  14.  
  15. Can someone tell me what a bucket sort is. With that in mind I would also 
  16. like to write function that sorts an array of numbers: so far I have the 
  17. following....
  18.  
  19.     main ()
  20.     {
  21.         const int arraysize = 5;
  22.         int a[arraysize] = {2, 27, 100, 34, 188};
  23.     }
  24.  
  25. I need to sort the array based on 1's, 10's and 100's digit. Thanx all!
  26.  
  27. Franco Simanjuntak  <francos@slip.net>
  28. "Comedy is simply a funny way of being serious" -- Peter Ustinov
  29.  
  30.  
  31.